<div class="product-box">
<h3><a href=""><?php echo __('Quotations', true); ?></a></h3>
<?php
   echo $this->Session->flash();
?>
<table class="table table-striped">
     <thead>
        <tr>
        <th><?php echo __('#', true); ?></th>
        <th><?php echo __('Name', true); ?></th>
        <th><?php echo __('Description', true); ?></th>
        <th><?php echo __('Download', true); ?></th>
        </tr>
    </thead>
    <tbody>
        <?php if (!empty($result)) : ?>
        <?php for ($i = 0; $i < count($result); $i++): ?>
        <tr>
            <td><?php echo $i+1; ?></td>
            <td><?php echo $result[$i]['Picture']['name_'.$lang]; ?></td>
            <td><?php echo $result[$i]['Picture']['description_'.$lang]; ?></td>
            <td><a href="<?php echo Router::url(array('controller' => 'quotation', 'action' => 'index', $result[$i]['Picture']['id']));?>"><i class="icon-download-alt"></a></i>
            </td>
        </tr>
        <?php endfor; ?>
        <?php endif; ?>
    </tbody>
</table>
</div>